package com.feng.cloud.system.constant;

/**
 * @ClassName GeneratorConstant
 * @Description TODO
 * @Author Better Feng
 * @Date 2019/12/23 14:23
 * @Version 1.0
 **/
public interface GeneratorConstant {

    /**
     * 生成代码的临时目录
     */
    String TEMP_PATH = "feng_gen_temp/";

    /**
     * java类型文件后缀
     */
    String JAVA_FILE_SUFFIX = ".java";
    /**
     * mapper文件类型后缀
     */
    String MAPPER_FILE_SUFFIX = "Mapper.java";
    /**
     * service文件类型后缀
     */
    String SERVICE_FILE_SUFFIX = "Service.java";

    /**
     * controller文件类型后缀
     */
    String CONTROLLER_FILE_SUFFIX = "Controller.java";

    /**
     * controller impl文件类型后缀
     */
    String CONTROLLERIMPL_FILE_SUFFIX = "ControllerImpl.java";

    /**
     * mapper xml文件类型后缀
     */
    String MAPPERXML_FILE_SUFFIX = "Mapper.xml";
    /**
     * entity模板
     */
    String ENTITY_TEMPLATE = "entity.ftl";
    /**
     * mapper模板
     */
    String MAPPER_TEMPLATE = "mapper.ftl";
    /**
     * service接口模板
     */
    String SERVICE_TEMPLATE = "service.ftl";

    /**
     * controller接口模板
     */
    String CONTROLLER_TEMPLATE = "controller.ftl";

    /**
     * controller impl接口模板
     */
    String CONTROLLERIMPL_TEMPLATE = "controllerImpl.ftl";
    /**
     * mapper xml接口模板
     */
    String MAPPERXML_TEMPLATE = "mapperXml.ftl";
}
